<template>
	<view class="header">
		<image src="@/static/image/home/sideActive.png" @click="sideStatus" class="side" alt="" />
		<view class="headerLeftBox">
			<view class="searchName">
				请输入歌曲名称
			</view>
			<image src="@/static/image/home/search.png" mode="" class="searchImg"></image>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			sideStatus() {
				this.$emit("SideMenuClick")
			}
		}
	}
</script>

<style lang="scss" scoped>
	.header {
		width: 750rpx;
		height: 120rpx;
		display: flex;
		justify-content: space-between;
		margin: 0 auto;
		position: sticky;
		display: flex;
		align-items: center;
		// box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
		top: 0;
		left: 0;
		z-index: 1;
		background-color: $app-bgc-color;
		// #ifdef APP-PLUS
		padding-top: 60rpx;
		//#endif

		.side {
			width: 50rpx;
			height: 50rpx;
			display: block;
			margin-top: 10rpx;
			margin-left: 5%;

			&:active {
				opacity: 0.8;
			}
		}

		.headerLeftBox {
			width: 83%;
			position: relative;

			.searchName {
				width: 492rpx;
				height: 74rpx;
				opacity: 1;
				border-radius: 38rpx;
				background: rgb(41, 46, 75);
				padding-left: 70rpx;
				line-height: 70rpx;
				color: $app-text-color-20;
			}

			.searchImg {
				width: 18px;
				height: 18px;
				position: absolute;
				left: 20rpx;
				top: 20rpx;
			}
		}
	}
</style>